package cn.edu.cdu.health.service.impl;

import cn.edu.cdu.health.common.BizException;
import cn.edu.cdu.health.entity.User;
import cn.edu.cdu.health.mapper.UserMapper;
import cn.edu.cdu.health.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @Service: 和@Controller的作用完全相同
 * 把当前类创建实例（bean),添加到容器中
 */

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {

    @Override
    public User getById(Integer id) throws BizException {
        return null;
    }
}
